/**    
 * @Title: PageController.java  
 * @Package cn.com.ytst.cloud.controller  
 * @Description: TODO(用一句话描述该文件做什么)  
 * @author yanhewei@vv.cc.com    
 * @date 2019年1月13日 下午8:13:26  
 * @version V1.0    
*/
package cn.com.ytst.data.integration.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**  
 * @ClassName: PageController  
 * @Description: 
 * @author yanhewei@vv.cc.com  
 * @date 2019年1月13日 下午8:13:26  
 *    
*/
@Controller
@RequestMapping
public class PageController {

	@RequestMapping(value="main",method=RequestMethod.GET)
	public ModelAndView login() {
	   return 	new ModelAndView("main");
	}
	
	@RequestMapping(value="index",method=RequestMethod.GET)
	public ModelAndView index() {
	   return 	new ModelAndView("index");
	}
	
	@RequestMapping(value="mqindex",method=RequestMethod.GET)
	public ModelAndView mqindex() {
	   return 	new ModelAndView("system/mq/mq-list");
	}
	
	@RequestMapping(value="ftpindex",method=RequestMethod.GET)
	public ModelAndView ftpindex() {
	   return 	new ModelAndView("system/ftp/ftp-list");
	}
	
	@RequestMapping(value="httpindex",method=RequestMethod.GET)
	public ModelAndView httpindex() {
	   return 	new ModelAndView("system/http/http-list");
	}
	
	@RequestMapping(value="logindex",method=RequestMethod.GET)
	public ModelAndView logindex() {
	   return 	new ModelAndView("system/log/log-list");
	}

	@RequestMapping(value="webserviceindex",method=RequestMethod.GET)
	public ModelAndView webserviceindex() {
		return 	new ModelAndView("system/webservice/webservice-list");
	}
	
	@RequestMapping(value="httpservice",method=RequestMethod.GET)
	public ModelAndView httpservice() {
		return 	new ModelAndView("system/httpservice/httpservice-list");
	}
	@RequestMapping(value="mmangerservice",method=RequestMethod.GET)
	public ModelAndView mmangerservice() {
		return 	new ModelAndView("system/mmangerservice/mmangerservice-list");
	}
	@RequestMapping(value="component/mqreaderindex",method=RequestMethod.GET)
	public ModelAndView topicinfoservice() {
		return 	new ModelAndView("system/component/mq/mqreader-list");
	}
	@RequestMapping(value="mmangerservice/msystem",method=RequestMethod.GET)
	public ModelAndView systeminfoservice() {
		return 	new ModelAndView("system/mmangerservice/msystem/msystem-list");
	}
	
	@RequestMapping(value="db/dbindx",method=RequestMethod.GET)
	public ModelAndView dbindex() {
		return 	new ModelAndView("system/db/db-list");
	}


}
